package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.mbc.rmt.data.CashPaymentByReturnDataList;
import com.mbc.rmt.entities.CashPaymentByReturn;
import com.mbc.rmt.entities.CashPaymentByReturnRpt;

public interface CashPaymentByReturnDAO {
	public void create(CashPaymentByReturn entity) throws SQLException;

	public CashPaymentByReturn find(long key) throws SQLException;
	
	public void update(CashPaymentByReturn entity) throws SQLException;
	
	public void delete(CashPaymentByReturn entity) throws SQLException;
	
	public CashPaymentByReturn getCashPaymentByReturn(CashPaymentByReturn entity) throws SQLException;
	
	public CashPaymentByReturnDataList findCashPaymentByReturn(CashPaymentByReturn cri)
			throws SQLException;
	
	public CashPaymentByReturnDataList findCashReturnDetaillist(CashPaymentByReturn cri)
			throws SQLException;
	
	public CashPaymentByReturn findpaidamt(long key) throws SQLException;
	
	public void updateCashReturn(CashPaymentByReturn info) throws SQLException;
	
	ResultSet prepareCashPaymentByReturnReport(CashPaymentByReturnRpt info)throws SQLException;
}
